package scau.zzf.entity.authority;

import scau.zzf.base.common.Unique;

/**
 * Created by zzf on 2017/2/26.
 */
public class UserRole extends Unique {
    private Long userId;
    private Long roleId;
    private String roleName;
    public final static String USER_ID = "userId";
    public final static String ROLE_ID = "roleId";
    public final static String ROLE_NAME = "roleName";
    public UserRole() {

    }

    public UserRole(Long userId, Long roleId, String roleName) {
        this.userId = userId;
        this.roleId = roleId;
        this.roleName = roleName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
